<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:rich="http://richfaces.org/rich">
      
  <!-- <body> -->
	<ui:composition template="/zsm/template/temp_zsm.xhtml">aaaaaaaaaaaa
	</ui:composition>
<!-- <f:view >
<h:form>
<h:panelGrid columns="3" >
<rich:panel >
<ui:insert src="/test.xhtml"/>
<center>
	<h:outputLink value="#" id="link1">
        #{msgs.czolozakladka1dodajogl}
        <rich:componentControl for="noweogloszenie" attachTo="link1" operation="show" event="onclick"/>
    </h:outputLink>
	</center><br/>
        <f:facet name="header">
        	<h:outputText value="#{msgs.czolozakladka1}"/>
        </f:facet>
         <rich:dataTable height="180px" width="300px" value="#{TaskListBean.dataList}" 
         id="ogloszenia_starsze"
         var="dataItem" 
         rows="5" >
                 <rich:column>
                    <f:facet name="header">
                        <h:outputText value="tresc ogłoszenia" />
                    </f:facet>
                      <h:outputLink value="#" id="link2">
                      <font size="+1" color="green">
        			#{dataItem.tresc}</font>
        			<rich:componentControl for="panel" attachTo="link2" operation="show" event="onclick"/>
    				</h:outputLink>
                </rich:column>
                <rich:column>
                <f:facet name="header">
                        <h:outputText value="telefon" />
                    </f:facet>
		        #{dataItem.telefon}
                </rich:column>
                <f:facet name="footer">
                    <rich:datascroller  for="ogloszenia_starsze" renderIfSinglePage="true" maxPages="3">
                    <f:facet name="first">
                    	<h:outputText value="#{msgs.tabelaogloszeniaaktualnelabelapierwsza}"/>
          			</f:facet>
          			<f:facet name="last">
                    	<h:outputText value="#{msgs.tabelaogloszeniaaktualnelabelaostatnia}"/>
          			</f:facet>  
                    </rich:datascroller>
                </f:facet>
            </rich:dataTable>
</rich:panel>

<rich:panel>
        <f:facet name="header"><h:outputText value="#{msgs.czolozakladka2}"/></f:facet>
        <rich:dataTable height="180px" width="300px" value="#{student.ll}"
                var="category" rows="20" rowKeyVar="row" >id="table" >
                <f:facet name="header">
                    <h:outputText value="#{msgs.czoloaktualneogloszenia}" />
                </f:facet>
                <rich:column>
                    <f:facet name="header">
                        <h:outputText value="Make" />
                    </f:facet>
                    <h:outputText value="#{student.proba.a}" id="make" />
                </rich:column>
                <rich:column>
                    <f:facet name="header">
                        <h:outputText value="Model" />
                    </f:facet>
                    <h:outputText value="#{student.proba.b}" id="make1" />
                </rich:column>
            </rich:dataTable>
</rich:panel>
<rich:panel>
        <f:facet name="header"><h:outputText value="#{msgs.czolozakladka3}"/></f:facet>
        <rich:dataTable height="180px" width="300px" value="#{student.ll}"
                var="category" rows="20" rowKeyVar="row" >id="table" >
                <f:facet name="header">
                    <h:outputText value="#{msgs.czoloaktualneogloszenia}" />
                </f:facet>
                <rich:column>
                    <f:facet name="header">
                        <h:outputText value="Make" />
                    </f:facet>
                    <h:outputText value="#{student.proba.a}" id="make" />
                </rich:column>
                <rich:column>
                    <f:facet name="header">
                        <h:outputText value="Model" />
                    </f:facet>
                    <h:outputText value="#{student.proba.b}" id="make1" />
                </rich:column>
                <rich:column>
                    <f:facet name="header">
                        Actions
	                </f:facet>
                </rich:column>
            </rich:dataTable>
</rich:panel>
</h:panelGrid></h:form>
</f:view>
 <rich:modalPanel id="panel"  width="600" height="400" >
        <f:facet name="header">
            <h:panelGroup>
                <h:outputText value="Szczegoly ogloszenia"></h:outputText>
            </h:panelGroup>
        </f:facet>
        <f:facet name="controls">
             <h:panelGroup><font color="red">
            	<h:commandButton   id="hidelink1" value="X"/>
                <rich:componentControl for="panel" attachTo="hidelink1" operation="hide" event="onclick"/>
            </font></h:panelGroup>
        </f:facet>
        <b><font color="green">Zgłaszający :</font></b><br/><br/>
        <h:outputText value="zzzzzzzzzzzzzzzzzzzzzzzzzz"></h:outputText>
        <br/><br/><b><font color="green">Dokładna treść ogłoszenia:</font></b><br/><br/>
        <h:outputText value="Closure link (X) works also through Component Control"></h:outputText>
        <br/><br/><b><font color="green">Podaj swój numer dla ogłoszeniodawcy:</font></b><br/><br/>
        <h:inputText value="przyklad" />
        <br/><br/><b><font color="green">Podaj swój email dla ogłoszeniodawcy:</font></b><br/><br/>
        <h:inputText value="przyklad" />
    </rich:modalPanel>
    <rich:modalPanel id="noweogloszenie"  width="600" height="400" >
        <f:facet name="header">
            <h:panelGroup>
                <h:outputText value="Szczegoly ogloszenia11"></h:outputText>
            </h:panelGroup>
        </f:facet>
        <f:facet name="controls">
             <h:panelGroup><font color="red">
            	<h:commandButton   id="hidelink" value="X"/>
                <rich:componentControl for="noweogloszenie" attachTo="hidelink" operation="hide" event="onclick"/>
            </font></h:panelGroup>
        </f:facet>
		<rich:panel>
        <f:facet name="header">
        	<h:outputText value="Zgłoszenie udziału w opiece #{zgloszenie.koncowkaopisu}"/>
        </f:facet>
        <h:panelGrid columns="3" title="user" rowClasses="s1row" columnClasses="wfcol1,wfcol2,wfcol3">
			<h:form>
			<h:outputText value="Tresc " />
			<h:inputText value="#{dodawanie.tresc}"/>
			<h:outputText value="Telefon" />
			<h:inputText value="#{dodawanie.telefon}" />
			<h:commandButton   action="#{dodawanie.dodaj_}"  value="+" id="uu" title="dodaj" /></h:form>
			</h:panelGrid> 
    	</rich:panel>
    </rich:modalPanel>

 <rich:separator height="20" lineType="double"/>
     </body> -->
</html>

